package com.flnet.treasure.mapper;

import com.flnet.treasure.domain.FileRef;
import com.flnet.treasure.domain.FileRefExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FileRefMapper {
    int countByExample(FileRefExample example);

    int deleteByExample(FileRefExample example);

    int deleteByPrimaryKey(Long id);

    int insert(FileRef record);

    int insertSelective(FileRef record);

    List<FileRef> selectByExample(FileRefExample example);

    FileRef selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") FileRef record, @Param("example") FileRefExample example);

    int updateByExample(@Param("record") FileRef record, @Param("example") FileRefExample example);

    int updateByPrimaryKeySelective(FileRef record);

    int updateByPrimaryKey(FileRef record);
}